package entity;

/**
 * @author wangying
 * @date 2025/2/21 16:11
 * title
 */
public class Book {
    private int id;
    private String ISBN;
    private String bookName;
    private String bookAuthor;
    private String bookPub;
    private int bookSort;
    private String bookAbstract;
    private int bookTotal;
    private String bookPhoto;
    private String bookPubLocation;
    private String bookPubYear;

    public Book() {
    }

    public Book(int id, String ISBN, String bookName, String bookAuthor, String bookPub, int bookSort, String bookAbstract, int bookTotal, String bookPhoto, String bookPubLocation, String bookPubYear, String bookSortName) {
        this.id = id;
        this.ISBN = ISBN;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPub = bookPub;
        this.bookSort = bookSort;
        this.bookAbstract = bookAbstract;
        this.bookTotal = bookTotal;
        this.bookPhoto = bookPhoto;
        this.bookPubLocation = bookPubLocation;
        this.bookPubYear = bookPubYear;

    }

    public Book(String ISBN, String bookName, String bookAuthor, String bookPub, int bookSort, String bookAbstract, int bookTotal, String bookPhoto, String bookPubLocation, String bookPubYear, String bookSortName) {
        this.ISBN = ISBN;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPub = bookPub;
        this.bookSort = bookSort;
        this.bookAbstract = bookAbstract;
        this.bookTotal = bookTotal;
        this.bookPhoto = bookPhoto;
        this.bookPubLocation = bookPubLocation;
        this.bookPubYear = bookPubYear;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    public String getBookPub() {
        return bookPub;
    }

    public void setBookPub(String bookPub) {
        this.bookPub = bookPub;
    }

    public int getBookSort() {
        return bookSort;
    }

    public void setBookSort(int bookSort) {
        this.bookSort = bookSort;
    }

    public String getBookAbstract() {
        return bookAbstract;
    }

    public void setBookAbstract(String bookAbstract) {
        this.bookAbstract = bookAbstract;
    }

    public int getBookTotal() {
        return bookTotal;
    }

    public void setBookTotal(int bookTotal) {
        this.bookTotal = bookTotal;
    }

    public String getBookPhoto() {
        return bookPhoto;
    }

    public void setBookPhoto(String bookPhoto) {
        this.bookPhoto = bookPhoto;
    }

    public String getBookPubLocation() {
        return bookPubLocation;
    }

    public void setBookPubLocation(String bookPubLocation) {
        this.bookPubLocation = bookPubLocation;
    }

    public String getBookPubYear() {
        return bookPubYear;
    }

    public void setBookPubYear(String bookPubYear) {
        this.bookPubYear = bookPubYear;
    }
}
